-- GENERATED SPELL FOR [Stormforged Reaver] --


function spell0_29382(pUnit, Event) --@Thunderstorm,Self--
pUnit:FullCastSpellOnTarget(55825,pUnit)
pUnit:RegisterEvent('Sorts_29382', 544, 1)
end

function Sorts_29382(pUnit, Event)
local choix_sorts_29382 = math.random(0, 0)
if choix_sorts_29382 == 0 then
pUnit:RegisterEvent('spell0_29382', 1, 1)
end
end

function mob29382_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29382', math.random(1500, 3000), 1)
end

function mob29382_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29382_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29382_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29382, 1, 'mob29382_Action')
RegisterUnitEvent(29382, 2, 'mob29382_Leave')
RegisterUnitEvent(29382, 3, 'mob29382_Kill')
RegisterUnitEvent(29382, 4, 'mob29382_Die')
